OPTN\Includes\AbTesting B

Total Complexity 87
Dependencies 4
Dependents 4
Total lines 741
Lines of code 365
Logical lines of code 194
Comment lines 234
Methods 26
Properties 7

Methods 26

Method Rating Maintainability Complexity Lines of code
handle_scheduled_winner_selection()
A
55 9 20
handle_manual_winner_selection()
S
52 7 24
perform_winner_selection_logic()
S
51 6 28
check_ab_test()
S
54 6 21
get_previously_viewed_variant()
S
56 6 18
get_optin_id_by_cr()
S
46 4 40
get_weighted_rand_post()
S
56 5 18
test_updated()
S
62 5 12
schedule_winner_selection()
S
60 5 12
get_optin_id_by_revenue()
S
53 3 25
test_created()
S
66 4 8
handle_end_actions()
S
46 1 44
decode_type()
S
69 3 6
decode_status()
S
69 3 6
decode_metric()
S
69 3 6
unschedule_winner_selection()
S
67 3 7
get_optin_id_by_conversions()
S
59 1 16
get_optin_id_by_leads()
S
60 1 15
set_viewed_variant_id()
S
63 2 10
encode_status()
S
77 2 3
encode_type()
S
77 2 3
encode_metric()
S
77 2 3
create_variant_view_history()
S
72 1 5
delete_variant_view_history()
S
75 1 4
test_deleted()
S
77 1 4
__construct()
S
67 1 7